Dataset statistics
| Number of variables | 13 |
|---|---|
| Number of observations | 2968 |
| Missing cells | 0 |
| Missing cells (%) | 0.0% |
| Duplicate rows | 0 |
| Duplicate rows (%) | 0.0% |
| Total size in memory | 301.6 KiB |
| Average record size in memory | 104.0 B |
Variable types
| Numeric | 13 |
|---|
gross_revenue is highly correlated with qtd_invoices and 3 other fields | High correlation |
recency_days is highly correlated with qtd_invoices | High correlation |
qtd_invoices is highly correlated with gross_revenue and 3 other fields | High correlation |
qtd_items is highly correlated with gross_revenue and 3 other fields | High correlation |
qtd_products is highly correlated with gross_revenue and 3 other fields | High correlation |
avg_ticket is highly correlated with avg_unique_basket_size | High correlation |
avg_recency_days is highly correlated with frequency | High correlation |
frequency is highly correlated with avg_recency_days | High correlation |
avg_basket_size is highly correlated with gross_revenue and 1 other fields | High correlation |
avg_unique_basket_size is highly correlated with qtd_products and 1 other fields | High correlation |
gross_revenue is highly correlated with qtd_invoices and 1 other fields | High correlation |
qtd_invoices is highly correlated with gross_revenue and 2 other fields | High correlation |
qtd_items is highly correlated with gross_revenue and 1 other fields | High correlation |
qtd_products is highly correlated with qtd_invoices | High correlation |
avg_ticket is highly correlated with qtde_returns and 1 other fields | High correlation |
qtde_returns is highly correlated with avg_ticket | High correlation |
avg_basket_size is highly correlated with avg_ticket | High correlation |
gross_revenue is highly correlated with qtd_invoices and 2 other fields | High correlation |
qtd_invoices is highly correlated with gross_revenue and 2 other fields | High correlation |
qtd_items is highly correlated with gross_revenue and 3 other fields | High correlation |
qtd_products is highly correlated with gross_revenue and 2 other fields | High correlation |
avg_recency_days is highly correlated with frequency | High correlation |
frequency is highly correlated with avg_recency_days | High correlation |
avg_basket_size is highly correlated with qtd_items | High correlation |
gross_revenue is highly correlated with qtd_invoices and 4 other fields | High correlation |
qtd_invoices is highly correlated with gross_revenue and 3 other fields | High correlation |
qtd_items is highly correlated with gross_revenue and 4 other fields | High correlation |
qtd_products is highly correlated with gross_revenue and 3 other fields | High correlation |
avg_ticket is highly correlated with qtde_returns and 1 other fields | High correlation |
qtde_returns is highly correlated with gross_revenue and 5 other fields | High correlation |
avg_basket_size is highly correlated with gross_revenue and 4 other fields | High correlation |
avg_unique_basket_size is highly correlated with avg_basket_size | High correlation |
avg_ticket is highly skewed (γ1 = 25.1569664) | Skewed |
frequency is highly skewed (γ1 = 24.87687084) | Skewed |
qtde_returns is highly skewed (γ1 = 21.9754032) | Skewed |
df_index has unique values | Unique |
customer_id has unique values | Unique |
avg_ticket has unique values | Unique |
recency_days has 33 (1.1%) zeros | Zeros |
qtde_returns has 1481 (49.9%) zeros | Zeros |
Reproduction
| Analysis started | 2023-01-07 17:31:20.990583 |
|---|---|
| Analysis finished | 2023-01-07 17:32:04.151086 |
| Duration | 43.16 seconds |
| Software version | pandas-profiling v3.1.0 |
| Download configuration | config.json |
| Distinct | 2968 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 2316.666442 |
| Minimum | 0 |
|---|---|
| Maximum | 5714 |
| Zeros | 1 |
| Zeros (%) | < 0.1% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 185.35 |
| Q1 | 928.5 |
| median | 2119.5 |
| Q3 | 3536.25 |
| 95-th percentile | 5034.3 |
| Maximum | 5714 |
| Range | 5714 |
| Interquartile range (IQR) | 2607.75 |
Descriptive statistics
| Standard deviation | 1554.722712 |
|---|---|
| Coefficient of variation (CV) | 0.6711033938 |
| Kurtosis | -1.010637904 |
| Mean | 2316.666442 |
| Median Absolute Deviation (MAD) | 1270.5 |
| Skewness | 0.3426249769 |
| Sum | 6875866 |
| Variance | 2417162.71 |
| Monotonicity | Strictly increasing |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 0 | 1 | < 0.1% |
| 2670 | 1 | < 0.1% |
| 2658 | 1 | < 0.1% |
| 4564 | 1 | < 0.1% |
| 2660 | 1 | < 0.1% |
| 613 | 1 | < 0.1% |
| 2662 | 1 | < 0.1% |
| 615 | 1 | < 0.1% |
| 4824 | 1 | < 0.1% |
| 619 | 1 | < 0.1% |
| Other values (2958) | 2958 |
| Value | Count | Frequency (%) |
| 0 | 1 | |
| 1 | 1 | |
| 2 | 1 | |
| 3 | 1 | |
| 4 | 1 | |
| 5 | 1 | |
| 6 | 1 | |
| 7 | 1 | |
| 8 | 1 | |
| 9 | 1 |
| Value | Count | Frequency (%) |
| 5714 | 1 | |
| 5695 | 1 | |
| 5685 | 1 | |
| 5679 | 1 | |
| 5658 | 1 | |
| 5654 | 1 | |
| 5648 | 1 | |
| 5637 | 1 | |
| 5636 | 1 | |
| 5626 | 1 |
| Distinct | 2968 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 15270.37702 |
| Minimum | 12347 |
|---|---|
| Maximum | 18287 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 12347 |
|---|---|
| 5-th percentile | 12619.35 |
| Q1 | 13798.75 |
| median | 15220.5 |
| Q3 | 16768.5 |
| 95-th percentile | 17964.65 |
| Maximum | 18287 |
| Range | 5940 |
| Interquartile range (IQR) | 2969.75 |
Descriptive statistics
| Standard deviation | 1719.144523 |
|---|---|
| Coefficient of variation (CV) | 0.1125803587 |
| Kurtosis | -1.206178196 |
| Mean | 15270.37702 |
| Median Absolute Deviation (MAD) | 1489 |
| Skewness | 0.03219371129 |
| Sum | 45322479 |
| Variance | 2955457.892 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 16384 | 1 | < 0.1% |
| 18164 | 1 | < 0.1% |
| 12933 | 1 | < 0.1% |
| 12935 | 1 | < 0.1% |
| 14984 | 1 | < 0.1% |
| 17033 | 1 | < 0.1% |
| 13704 | 1 | < 0.1% |
| 12939 | 1 | < 0.1% |
| 17037 | 1 | < 0.1% |
| 14125 | 1 | < 0.1% |
| Other values (2958) | 2958 |
| Value | Count | Frequency (%) |
| 12347 | 1 | |
| 12348 | 1 | |
| 12352 | 1 | |
| 12356 | 1 | |
| 12358 | 1 | |
| 12359 | 1 | |
| 12360 | 1 | |
| 12362 | 1 | |
| 12364 | 1 | |
| 12370 | 1 |
| Value | Count | Frequency (%) |
| 18287 | 1 | |
| 18283 | 1 | |
| 18282 | 1 | |
| 18277 | 1 | |
| 18276 | 1 | |
| 18274 | 1 | |
| 18273 | 1 | |
| 18272 | 1 | |
| 18270 | 1 | |
| 18269 | 1 |
| Distinct | 2962 |
|---|---|
| Distinct (%) | 99.8% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 2693.485061 |
| Minimum | 6.2 |
|---|---|
| Maximum | 279138.02 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 6.2 |
|---|---|
| 5-th percentile | 229.7325 |
| Q1 | 570.845 |
| median | 1085.51 |
| Q3 | 2306.905 |
| 95-th percentile | 7169.562 |
| Maximum | 279138.02 |
| Range | 279131.82 |
| Interquartile range (IQR) | 1736.06 |
Descriptive statistics
| Standard deviation | 10135.46528 |
|---|---|
| Coefficient of variation (CV) | 3.762955818 |
| Kurtosis | 397.3013221 |
| Mean | 2693.485061 |
| Median Absolute Deviation (MAD) | 670.84 |
| Skewness | 17.63537227 |
| Sum | 7994263.66 |
| Variance | 102727656.5 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 379.65 | 2 | 0.1% |
| 745.06 | 2 | 0.1% |
| 533.33 | 2 | 0.1% |
| 731.9 | 2 | 0.1% |
| 734.94 | 2 | 0.1% |
| 331 | 2 | 0.1% |
| 719.78 | 1 | < 0.1% |
| 13375.87 | 1 | < 0.1% |
| 447.64 | 1 | < 0.1% |
| 567.36 | 1 | < 0.1% |
| Other values (2952) | 2952 |
| Value | Count | Frequency (%) |
| 6.2 | 1 | |
| 13.3 | 1 | |
| 15 | 1 | |
| 36.56 | 1 | |
| 45 | 1 | |
| 52 | 1 | |
| 52.2 | 1 | |
| 52.2 | 1 | |
| 62.43 | 1 | |
| 68.84 | 1 |
| Value | Count | Frequency (%) |
| 279138.02 | 1 | |
| 259657.3 | 1 | |
| 194550.79 | 1 | |
| 140450.72 | 1 | |
| 124564.53 | 1 | |
| 117379.63 | 1 | |
| 91062.38 | 1 | |
| 72882.09 | 1 | |
| 66653.56 | 1 | |
| 65039.62 | 1 |
| Distinct | 272 |
|---|---|
| Distinct (%) | 9.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 64.30929919 |
| Minimum | 0 |
|---|---|
| Maximum | 373 |
| Zeros | 33 |
| Zeros (%) | 1.1% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 2 |
| Q1 | 11 |
| median | 31 |
| Q3 | 81 |
| 95-th percentile | 242 |
| Maximum | 373 |
| Range | 373 |
| Interquartile range (IQR) | 70 |
Descriptive statistics
| Standard deviation | 77.76092244 |
|---|---|
| Coefficient of variation (CV) | 1.209170733 |
| Kurtosis | 2.776517247 |
| Mean | 64.30929919 |
| Median Absolute Deviation (MAD) | 26 |
| Skewness | 1.798052889 |
| Sum | 190870 |
| Variance | 6046.761059 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1 | 99 | 3.3% |
| 4 | 87 | 2.9% |
| 2 | 85 | 2.9% |
| 3 | 85 | 2.9% |
| 8 | 76 | 2.6% |
| 10 | 67 | 2.3% |
| 9 | 66 | 2.2% |
| 7 | 66 | 2.2% |
| 17 | 64 | 2.2% |
| 16 | 55 | 1.9% |
| Other values (262) | 2218 |
| Value | Count | Frequency (%) |
| 0 | 33 | 1.1% |
| 1 | 99 | |
| 2 | 85 | |
| 3 | 85 | |
| 4 | 87 | |
| 5 | 43 | |
| 7 | 66 | |
| 8 | 76 | |
| 9 | 66 | |
| 10 | 67 |
| Value | Count | Frequency (%) |
| 373 | 2 | |
| 372 | 4 | |
| 371 | 1 | < 0.1% |
| 368 | 1 | < 0.1% |
| 366 | 4 | |
| 365 | 2 | |
| 364 | 1 | < 0.1% |
| 360 | 1 | < 0.1% |
| 359 | 1 | < 0.1% |
| 358 | 4 |
| Distinct | 56 |
|---|---|
| Distinct (%) | 1.9% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 5.724393531 |
| Minimum | 1 |
|---|---|
| Maximum | 206 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 1 |
| Q1 | 2 |
| median | 4 |
| Q3 | 6 |
| 95-th percentile | 17 |
| Maximum | 206 |
| Range | 205 |
| Interquartile range (IQR) | 4 |
Descriptive statistics
| Standard deviation | 8.857759893 |
|---|---|
| Coefficient of variation (CV) | 1.547370886 |
| Kurtosis | 190.7862392 |
| Mean | 5.724393531 |
| Median Absolute Deviation (MAD) | 2 |
| Skewness | 10.76555481 |
| Sum | 16990 |
| Variance | 78.45991032 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 2 | 784 | |
| 3 | 499 | |
| 4 | 393 | |
| 5 | 237 | 8.0% |
| 1 | 190 | 6.4% |
| 6 | 173 | 5.8% |
| 7 | 138 | 4.6% |
| 8 | 98 | 3.3% |
| 9 | 69 | 2.3% |
| 10 | 55 | 1.9% |
| Other values (46) | 332 |
| Value | Count | Frequency (%) |
| 1 | 190 | 6.4% |
| 2 | 784 | |
| 3 | 499 | |
| 4 | 393 | |
| 5 | 237 | 8.0% |
| 6 | 173 | 5.8% |
| 7 | 138 | 4.6% |
| 8 | 98 | 3.3% |
| 9 | 69 | 2.3% |
| 10 | 55 | 1.9% |
| Value | Count | Frequency (%) |
| 206 | 1 | |
| 199 | 1 | |
| 124 | 1 | |
| 97 | 1 | |
| 91 | 2 | |
| 86 | 1 | |
| 72 | 1 | |
| 62 | 2 | |
| 60 | 1 | |
| 57 | 1 |
| Distinct | 1670 |
|---|---|
| Distinct (%) | 56.3% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 1582.104447 |
| Minimum | 1 |
|---|---|
| Maximum | 196844 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 102.35 |
| Q1 | 296 |
| median | 640 |
| Q3 | 1399.5 |
| 95-th percentile | 4403.25 |
| Maximum | 196844 |
| Range | 196843 |
| Interquartile range (IQR) | 1103.5 |
Descriptive statistics
| Standard deviation | 5705.291445 |
|---|---|
| Coefficient of variation (CV) | 3.60614083 |
| Kurtosis | 516.7418024 |
| Mean | 1582.104447 |
| Median Absolute Deviation (MAD) | 421 |
| Skewness | 18.73765362 |
| Sum | 4695686 |
| Variance | 32550350.48 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 310 | 11 | 0.4% |
| 150 | 9 | 0.3% |
| 88 | 9 | 0.3% |
| 288 | 8 | 0.3% |
| 84 | 8 | 0.3% |
| 260 | 8 | 0.3% |
| 272 | 8 | 0.3% |
| 246 | 8 | 0.3% |
| 200 | 7 | 0.2% |
| 219 | 7 | 0.2% |
| Other values (1660) | 2885 |
| Value | Count | Frequency (%) |
| 1 | 1 | |
| 2 | 2 | |
| 12 | 2 | |
| 16 | 1 | |
| 17 | 1 | |
| 18 | 1 | |
| 19 | 1 | |
| 20 | 1 | |
| 23 | 1 | |
| 25 | 1 |
| Value | Count | Frequency (%) |
| 196844 | 1 | |
| 80263 | 1 | |
| 77373 | 1 | |
| 69993 | 1 | |
| 64549 | 1 | |
| 64124 | 1 | |
| 63312 | 1 | |
| 58343 | 1 | |
| 57885 | 1 | |
| 50255 | 1 |
| Distinct | 468 |
|---|---|
| Distinct (%) | 15.8% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 122.7644879 |
| Minimum | 1 |
|---|---|
| Maximum | 7838 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 9 |
| Q1 | 29 |
| median | 67 |
| Q3 | 135 |
| 95-th percentile | 382 |
| Maximum | 7838 |
| Range | 7837 |
| Interquartile range (IQR) | 106 |
Descriptive statistics
| Standard deviation | 269.9329358 |
|---|---|
| Coefficient of variation (CV) | 2.198786803 |
| Kurtosis | 354.7788412 |
| Mean | 122.7644879 |
| Median Absolute Deviation (MAD) | 44 |
| Skewness | 15.7061352 |
| Sum | 364365 |
| Variance | 72863.78981 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 28 | 43 | 1.4% |
| 20 | 37 | 1.2% |
| 35 | 35 | 1.2% |
| 29 | 35 | 1.2% |
| 19 | 34 | 1.1% |
| 15 | 33 | 1.1% |
| 11 | 32 | 1.1% |
| 26 | 31 | 1.0% |
| 27 | 30 | 1.0% |
| 25 | 30 | 1.0% |
| Other values (458) | 2628 |
| Value | Count | Frequency (%) |
| 1 | 6 | 0.2% |
| 2 | 14 | |
| 3 | 15 | |
| 4 | 17 | |
| 5 | 26 | |
| 6 | 29 | |
| 7 | 18 | |
| 8 | 19 | |
| 9 | 26 | |
| 10 | 28 |
| Value | Count | Frequency (%) |
| 7838 | 1 | |
| 5673 | 1 | |
| 5095 | 1 | |
| 4580 | 1 | |
| 2698 | 1 | |
| 2379 | 1 | |
| 2060 | 1 | |
| 1818 | 1 | |
| 1673 | 1 | |
| 1637 | 1 |
| Distinct | 2968 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 32.99425671 |
| Minimum | 2.150588235 |
|---|---|
| Maximum | 4453.43 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 2.150588235 |
|---|---|
| 5-th percentile | 4.915887985 |
| Q1 | 13.11811111 |
| median | 17.95344712 |
| Q3 | 24.98179365 |
| 95-th percentile | 90.052125 |
| Maximum | 4453.43 |
| Range | 4451.279412 |
| Interquartile range (IQR) | 11.86368254 |
Descriptive statistics
| Standard deviation | 119.5320656 |
|---|---|
| Coefficient of variation (CV) | 3.622814318 |
| Kurtosis | 812.9647397 |
| Mean | 32.99425671 |
| Median Absolute Deviation (MAD) | 5.979018644 |
| Skewness | 25.1569664 |
| Sum | 97926.95393 |
| Variance | 14287.91471 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 17.49275862 | 1 | < 0.1% |
| 15.41363636 | 1 | < 0.1% |
| 18.15061538 | 1 | < 0.1% |
| 17.94344444 | 1 | < 0.1% |
| 43.2192 | 1 | < 0.1% |
| 33.53571429 | 1 | < 0.1% |
| 9.418292683 | 1 | < 0.1% |
| 19.55767045 | 1 | < 0.1% |
| 132.0738983 | 1 | < 0.1% |
| 16.80722222 | 1 | < 0.1% |
| Other values (2958) | 2958 |
| Value | Count | Frequency (%) |
| 2.150588235 | 1 | |
| 2.4325 | 1 | |
| 2.462371134 | 1 | |
| 2.511241379 | 1 | |
| 2.515333333 | 1 | |
| 2.65 | 1 | |
| 2.656931818 | 1 | |
| 2.707598253 | 1 | |
| 2.760621572 | 1 | |
| 2.770464191 | 1 |
| Value | Count | Frequency (%) |
| 4453.43 | 1 | |
| 3202.92 | 1 | |
| 1687.2 | 1 | |
| 952.9875 | 1 | |
| 872.13 | 1 | |
| 841.0214493 | 1 | |
| 651.1683333 | 1 | |
| 640 | 1 | |
| 624.4 | 1 | |
| 615.75 | 1 |
| Distinct | 1258 |
|---|---|
| Distinct (%) | 42.4% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 67.30213285 |
| Minimum | 1 |
|---|---|
| Maximum | 366 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 8 |
| Q1 | 25.91730769 |
| median | 48.26785714 |
| Q3 | 85.33333333 |
| 95-th percentile | 200.65 |
| Maximum | 366 |
| Range | 365 |
| Interquartile range (IQR) | 59.41602564 |
Descriptive statistics
| Standard deviation | 63.50535844 |
|---|---|
| Coefficient of variation (CV) | 0.9435861206 |
| Kurtosis | 4.908048776 |
| Mean | 67.30213285 |
| Median Absolute Deviation (MAD) | 26.26785714 |
| Skewness | 2.066084007 |
| Sum | 199752.7303 |
| Variance | 4032.93055 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 14 | 25 | 0.8% |
| 4 | 22 | 0.7% |
| 70 | 21 | 0.7% |
| 7 | 20 | 0.7% |
| 35 | 19 | 0.6% |
| 49 | 18 | 0.6% |
| 21 | 17 | 0.6% |
| 46 | 17 | 0.6% |
| 11 | 17 | 0.6% |
| 5 | 16 | 0.5% |
| Other values (1248) | 2776 |
| Value | Count | Frequency (%) |
| 1 | 16 | |
| 1.5 | 1 | < 0.1% |
| 2 | 13 | |
| 2.5 | 1 | < 0.1% |
| 2.601398601 | 1 | < 0.1% |
| 3 | 15 | |
| 3.321428571 | 1 | < 0.1% |
| 3.330357143 | 1 | < 0.1% |
| 3.5 | 2 | 0.1% |
| 4 | 22 |
| Value | Count | Frequency (%) |
| 366 | 1 | < 0.1% |
| 365 | 1 | < 0.1% |
| 363 | 1 | < 0.1% |
| 362 | 1 | < 0.1% |
| 357 | 2 | |
| 356 | 1 | < 0.1% |
| 355 | 2 | |
| 352 | 1 | < 0.1% |
| 351 | 2 | |
| 350 | 3 |
| Distinct | 1225 |
|---|---|
| Distinct (%) | 41.3% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 0.1138323742 |
| Minimum | 0.005449591281 |
|---|---|
| Maximum | 17 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0.005449591281 |
|---|---|
| 5-th percentile | 0.008893504781 |
| Q1 | 0.01633986928 |
| median | 0.02589835169 |
| Q3 | 0.04947858264 |
| 95-th percentile | 1 |
| Maximum | 17 |
| Range | 16.99455041 |
| Interquartile range (IQR) | 0.03313871336 |
Descriptive statistics
| Standard deviation | 0.4082205551 |
|---|---|
| Coefficient of variation (CV) | 3.586155151 |
| Kurtosis | 989.0663249 |
| Mean | 0.1138323742 |
| Median Absolute Deviation (MAD) | 0.0121968864 |
| Skewness | 24.87687084 |
| Sum | 337.8544866 |
| Variance | 0.1666440216 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1 | 198 | 6.7% |
| 0.0625 | 18 | 0.6% |
| 0.02777777778 | 17 | 0.6% |
| 0.02380952381 | 16 | 0.5% |
| 0.08333333333 | 15 | 0.5% |
| 0.09090909091 | 15 | 0.5% |
| 0.03448275862 | 14 | 0.5% |
| 0.02941176471 | 14 | 0.5% |
| 0.03571428571 | 13 | 0.4% |
| 0.02564102564 | 13 | 0.4% |
| Other values (1215) | 2635 |
| Value | Count | Frequency (%) |
| 0.005449591281 | 1 | < 0.1% |
| 0.005464480874 | 1 | < 0.1% |
| 0.005479452055 | 1 | < 0.1% |
| 0.005494505495 | 1 | < 0.1% |
| 0.005586592179 | 2 | |
| 0.005602240896 | 1 | < 0.1% |
| 0.005617977528 | 2 | |
| 0.00566572238 | 1 | < 0.1% |
| 0.005681818182 | 2 | |
| 0.005698005698 | 3 |
| Value | Count | Frequency (%) |
| 17 | 1 | < 0.1% |
| 3 | 1 | < 0.1% |
| 2 | 6 | 0.2% |
| 1.142857143 | 1 | < 0.1% |
| 1 | 198 | |
| 0.75 | 1 | < 0.1% |
| 0.6666666667 | 3 | 0.1% |
| 0.550802139 | 1 | < 0.1% |
| 0.5335120643 | 1 | < 0.1% |
| 0.5 | 3 | 0.1% |
| Distinct | 213 |
|---|---|
| Distinct (%) | 7.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 34.88847709 |
| Minimum | 0 |
|---|---|
| Maximum | 9014 |
| Zeros | 1481 |
| Zeros (%) | 49.9% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 0 |
| Q1 | 0 |
| median | 1 |
| Q3 | 9 |
| 95-th percentile | 100 |
| Maximum | 9014 |
| Range | 9014 |
| Interquartile range (IQR) | 9 |
Descriptive statistics
| Standard deviation | 282.864784 |
|---|---|
| Coefficient of variation (CV) | 8.107685048 |
| Kurtosis | 596.2019916 |
| Mean | 34.88847709 |
| Median Absolute Deviation (MAD) | 1 |
| Skewness | 21.9754032 |
| Sum | 103549 |
| Variance | 80012.48604 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 0 | 1481 | |
| 1 | 164 | 5.5% |
| 2 | 148 | 5.0% |
| 3 | 105 | 3.5% |
| 4 | 89 | 3.0% |
| 6 | 78 | 2.6% |
| 5 | 61 | 2.1% |
| 12 | 51 | 1.7% |
| 7 | 43 | 1.4% |
| 8 | 43 | 1.4% |
| Other values (203) | 705 |
| Value | Count | Frequency (%) |
| 0 | 1481 | |
| 1 | 164 | 5.5% |
| 2 | 148 | 5.0% |
| 3 | 105 | 3.5% |
| 4 | 89 | 3.0% |
| 5 | 61 | 2.1% |
| 6 | 78 | 2.6% |
| 7 | 43 | 1.4% |
| 8 | 43 | 1.4% |
| 9 | 41 | 1.4% |
| Value | Count | Frequency (%) |
| 9014 | 1 | |
| 8004 | 1 | |
| 4427 | 1 | |
| 3768 | 1 | |
| 3332 | 1 | |
| 2878 | 1 | |
| 2022 | 1 | |
| 2012 | 1 | |
| 1776 | 1 | |
| 1594 | 1 |
avg_basket_size
Real number (ℝ≥0)
HIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATION| Distinct | 1978 |
|---|---|
| Distinct (%) | 66.6% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 236.252886 |
| Minimum | 1 |
|---|---|
| Maximum | 6009.333333 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 44 |
| Q1 | 103.2375 |
| median | 172.2916667 |
| Q3 | 281.5480769 |
| 95-th percentile | 599.58 |
| Maximum | 6009.333333 |
| Range | 6008.333333 |
| Interquartile range (IQR) | 178.3105769 |
Descriptive statistics
| Standard deviation | 283.8931966 |
|---|---|
| Coefficient of variation (CV) | 1.201649645 |
| Kurtosis | 102.7816879 |
| Mean | 236.252886 |
| Median Absolute Deviation (MAD) | 83.04166667 |
| Skewness | 7.701877717 |
| Sum | 701198.5657 |
| Variance | 80595.34706 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 100 | 11 | 0.4% |
| 114 | 10 | 0.3% |
| 82 | 9 | 0.3% |
| 86 | 9 | 0.3% |
| 73 | 9 | 0.3% |
| 60 | 8 | 0.3% |
| 88 | 8 | 0.3% |
| 75 | 8 | 0.3% |
| 136 | 8 | 0.3% |
| 105 | 7 | 0.2% |
| Other values (1968) | 2881 |
| Value | Count | Frequency (%) |
| 1 | 2 | |
| 2 | 1 | |
| 3.333333333 | 1 | |
| 5.333333333 | 1 | |
| 5.666666667 | 1 | |
| 6.142857143 | 1 | |
| 7.5 | 1 | |
| 9 | 1 | |
| 9.5 | 1 | |
| 11 | 1 |
| Value | Count | Frequency (%) |
| 6009.333333 | 1 | |
| 4282 | 1 | |
| 3906 | 1 | |
| 3868.65 | 1 | |
| 2880 | 1 | |
| 2801 | 1 | |
| 2733.944444 | 1 | |
| 2518.769231 | 1 | |
| 2160.333333 | 1 | |
| 2082.225806 | 1 |
| Distinct | 906 |
|---|---|
| Distinct (%) | 30.5% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 17.48997702 |
| Minimum | 0.2 |
|---|---|
| Maximum | 259 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0.2 |
|---|---|
| 5-th percentile | 2 |
| Q1 | 7.666666667 |
| median | 13.6 |
| Q3 | 22.14464286 |
| 95-th percentile | 46 |
| Maximum | 259 |
| Range | 258.8 |
| Interquartile range (IQR) | 14.47797619 |
Descriptive statistics
| Standard deviation | 15.46012684 |
|---|---|
| Coefficient of variation (CV) | 0.8839420902 |
| Kurtosis | 29.32468467 |
| Mean | 17.48997702 |
| Median Absolute Deviation (MAD) | 6.6 |
| Skewness | 3.436467798 |
| Sum | 51910.25179 |
| Variance | 239.015522 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 13 | 42 | 1.4% |
| 9 | 41 | 1.4% |
| 16 | 39 | 1.3% |
| 8 | 39 | 1.3% |
| 14 | 38 | 1.3% |
| 17 | 38 | 1.3% |
| 5 | 36 | 1.2% |
| 11 | 36 | 1.2% |
| 7 | 36 | 1.2% |
| 15 | 35 | 1.2% |
| Other values (896) | 2588 |
| Value | Count | Frequency (%) |
| 0.2 | 1 | < 0.1% |
| 0.25 | 3 | 0.1% |
| 0.3333333333 | 6 | |
| 0.4 | 1 | < 0.1% |
| 0.4090909091 | 1 | < 0.1% |
| 0.5 | 12 | |
| 0.5454545455 | 1 | < 0.1% |
| 0.5555555556 | 1 | < 0.1% |
| 0.5714285714 | 1 | < 0.1% |
| 0.6176470588 | 1 | < 0.1% |
| Value | Count | Frequency (%) |
| 259 | 1 | |
| 177 | 1 | |
| 148 | 1 | |
| 127 | 1 | |
| 105 | 1 | |
| 104 | 1 | |
| 101 | 1 | |
| 98 | 1 | |
| 95.5 | 1 | |
| 94.33333333 | 1 |
Spearman's ρ
The Spearman's rank correlation coefficient (ρ) is a measure of monotonic correlation between two variables, and is therefore better in catching nonlinear monotonic correlations than Pearson's r. It's value lies between -1 and +1, -1 indicating total negative monotonic correlation, 0 indicating no monotonic correlation and 1 indicating total positive monotonic correlation.To calculate ρ for two variables X and Y, one divides the covariance of the rank variables of X and Y by the product of their standard deviations.
Pearson's r
The Pearson's correlation coefficient (r) is a measure of linear correlation between two variables. It's value lies between -1 and +1, -1 indicating total negative linear correlation, 0 indicating no linear correlation and 1 indicating total positive linear correlation. Furthermore, r is invariant under separate changes in location and scale of the two variables, implying that for a linear function the angle to the x-axis does not affect r.To calculate r for two variables X and Y, one divides the covariance of X and Y by the product of their standard deviations.
Kendall's τ
Similarly to Spearman's rank correlation coefficient, the Kendall rank correlation coefficient (τ) measures ordinal association between two variables. It's value lies between -1 and +1, -1 indicating total negative correlation, 0 indicating no correlation and 1 indicating total positive correlation.To calculate τ for two variables X and Y, one determines the number of concordant and discordant pairs of observations. τ is given by the number of concordant pairs minus the discordant pairs divided by the total number of pairs.
Phik (φk)
Phik (φk) is a new and practical correlation coefficient that works consistently between categorical, ordinal and interval variables, captures non-linear dependency and reverts to the Pearson correlation coefficient in case of a bivariate normal input distribution. There is extensive documentation available here. A simple visualization of nullity by column.
Nullity matrix is a data-dense display which lets you quickly visually pick out patterns in data completion.
First rows
| df_index | customer_id | gross_revenue | recency_days | qtd_invoices | qtd_items | qtd_products | avg_ticket | avg_recency_days | frequency | qtde_returns | avg_basket_size | avg_unique_basket_size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 17850 | 5391.21 | 372.0 | 34.0 | 1733.0 | 297.0 | 18.152222 | 35.500000 | 17.000000 | 40.0 | 50.970588 | 0.617647 |
| 1 | 1 | 13047 | 3232.59 | 56.0 | 9.0 | 1390.0 | 171.0 | 18.904035 | 27.250000 | 0.028302 | 35.0 | 154.444444 | 11.666667 |
| 2 | 2 | 12583 | 6705.38 | 2.0 | 15.0 | 5028.0 | 232.0 | 28.902500 | 23.187500 | 0.040323 | 50.0 | 335.200000 | 7.600000 |
| 3 | 3 | 13748 | 948.25 | 95.0 | 5.0 | 439.0 | 28.0 | 33.866071 | 92.666667 | 0.017921 | 0.0 | 87.800000 | 4.800000 |
| 4 | 4 | 15100 | 876.00 | 333.0 | 3.0 | 80.0 | 3.0 | 292.000000 | 8.600000 | 0.073171 | 22.0 | 26.666667 | 0.333333 |
| 5 | 5 | 15291 | 4623.30 | 25.0 | 14.0 | 2102.0 | 102.0 | 45.326471 | 23.200000 | 0.040115 | 29.0 | 150.142857 | 4.357143 |
| 6 | 6 | 14688 | 5630.87 | 7.0 | 21.0 | 3621.0 | 327.0 | 17.219786 | 18.300000 | 0.057221 | 399.0 | 172.428571 | 7.047619 |
| 7 | 7 | 17809 | 5411.91 | 16.0 | 12.0 | 2057.0 | 61.0 | 88.719836 | 35.700000 | 0.033520 | 41.0 | 171.416667 | 3.833333 |
| 8 | 8 | 15311 | 60767.90 | 0.0 | 91.0 | 38194.0 | 2379.0 | 25.543464 | 4.144444 | 0.243316 | 474.0 | 419.714286 | 6.230769 |
| 9 | 9 | 16098 | 2005.63 | 87.0 | 7.0 | 613.0 | 67.0 | 29.934776 | 47.666667 | 0.024390 | 0.0 | 87.571429 | 4.857143 |
Last rows
| df_index | customer_id | gross_revenue | recency_days | qtd_invoices | qtd_items | qtd_products | avg_ticket | avg_recency_days | frequency | qtde_returns | avg_basket_size | avg_unique_basket_size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2958 | 5626 | 17727 | 1060.25 | 15.0 | 1.0 | 645.0 | 66.0 | 16.064394 | 6.0 | 1.000000 | 6.0 | 645.000000 | 66.000000 |
| 2959 | 5636 | 17232 | 421.52 | 2.0 | 2.0 | 203.0 | 36.0 | 11.708889 | 12.0 | 0.153846 | 0.0 | 101.500000 | 15.000000 |
| 2960 | 5637 | 17468 | 137.00 | 10.0 | 2.0 | 116.0 | 5.0 | 27.400000 | 4.0 | 0.400000 | 0.0 | 58.000000 | 2.500000 |
| 2961 | 5648 | 13596 | 697.04 | 5.0 | 2.0 | 406.0 | 166.0 | 4.199036 | 7.0 | 0.250000 | 0.0 | 203.000000 | 66.500000 |
| 2962 | 5654 | 14893 | 1237.85 | 9.0 | 2.0 | 799.0 | 73.0 | 16.956849 | 2.0 | 0.666667 | 0.0 | 399.500000 | 36.000000 |
| 2963 | 5658 | 12479 | 473.20 | 11.0 | 1.0 | 382.0 | 30.0 | 15.773333 | 4.0 | 1.000000 | 34.0 | 382.000000 | 30.000000 |
| 2964 | 5679 | 14126 | 706.13 | 7.0 | 3.0 | 508.0 | 15.0 | 47.075333 | 3.0 | 0.750000 | 50.0 | 169.333333 | 4.666667 |
| 2965 | 5685 | 13521 | 1092.39 | 1.0 | 3.0 | 733.0 | 435.0 | 2.511241 | 4.5 | 0.300000 | 0.0 | 244.333333 | 104.000000 |
| 2966 | 5695 | 15060 | 301.84 | 8.0 | 4.0 | 262.0 | 120.0 | 2.515333 | 1.0 | 2.000000 | 0.0 | 65.500000 | 20.000000 |
| 2967 | 5714 | 12558 | 269.96 | 7.0 | 1.0 | 196.0 | 11.0 | 24.541818 | 6.0 | 1.000000 | 196.0 | 196.000000 | 11.000000 |